package com.summer.campussct.pojo.dto;

import com.summer.campussct.pojo.User;
import com.summer.campussct.pojo.Vehicle;
import com.summer.campussct.pojo.VehicleAudit;
import com.summer.campussct.pojo.VehicleMarket;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.Valid;


@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel("车辆基本信息和营销信息")
public class VehicleInfoDto extends Vehicle {

    @Valid
    private VehicleMarket vehicleMarket;

    private CampusOrShopDto campusOrShopDto;

    private VehicleAudit vehicleAudit;

    private User user;

    private String brandName;

}
